package com.scoring.system.service;

import java.util.List;

import com.scoring.system.pojo.Achievement;

public interface AchievementService {
	
	int softDelete(int id);
	int saveAchievement(Achievement record);
	Achievement getAchievementById(int id);
	Achievement getAchievementByStudentIdAndCourseId(int studentId,int courseId);
	List<Achievement> listAchievementByClassId(int classId);
	List<Achievement> listAchievementByStudentId(int studentId);
	List<Achievement> listAchievementByStudentIdAndTerm(int studentId,String term);
	List<Achievement> listAchievementByClassIdAndTerm(int classId,String term);
	List<Achievement> listAchievementByClassIdAndTermAndCourseId(int classId,String term,int courseId);
	int updateAchievement(Achievement record);

}
